package com.quanxiaoha.xiaohashu.data.align.config;/**
 * @author Myj
 * @date 2025/8/16
 */

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *@author: myj
 *@createtime: 2025-08-16
 *@description: xxl-job 配置读取
 *@version: 1.0
 */
@ConfigurationProperties(prefix = XxlJobProperties.PREFIX)
@Component
@Data
public class XxlJobProperties {
    public static final String PREFIX = "xxl.job";

    private String adminAddresses;

    private String accessToken;

    private String appName;

    private String ip;

    private int port;

    private String logPath;

    private int logRetentionDays = 30;
}
